<script>

    $(document).ready(function() {
       
        $('#requisitos').load('<?php echo $this->Html->url(array('controller' => 'OwnerRequirements', 'action' => 'index', $this->data['OwnerEvaluation']['id'])) ?>');
    })
    ;
</script>
<h1>EVALUACIÓN DE PROPIETARIOS</h1>
<table>
    <tr>
        <td>
            <div id="requisitos" style="height: 600px">


            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div>
                <fieldset>
                    <?php echo $this->Form->create("OwnerEvaluation", array("class" => "form", "action" => "edit/" . $this->data['OwnerEvaluation']['id'])); ?>
                    <?php echo $this->Form->hidden('OwnerEvaluation.id'); ?>
                    <?php echo $this->Form->input('OwnerEvaluation.calificacion', array('label' => 'Calificación', 'class' => '', 'empty' => '', 'options' => array('Cumple' => 'Cumple', 'No cumple' => 'No cumple'))); ?>
                    <?php echo $this->Form->input('OwnerEvaluation.concepto', array('label' => 'Concepto', 'class' => '')); ?>
                    <?php echo $this->Form->hidden('OwnerEvaluation.owner_id'); ?>
                    <?php echo $this->Form->end("Guardar") ?>  
                </fieldset>
            </div>

        </td>
    </tr>
</table>







